package com.user.query.service;

import java.util.List;

import com.user.query.model.User;
import com.user.query.utils.Page;

public interface UserService {
	User getUserByAccountNoAndPsw(String accountNo, String psw)
			throws Exception;

	void insert(User user);

	User findByAccountNo(String accountNo);

	void updateByPrimaryKeySelective(User user);

	User selectByPrimaryKey(String userId);

	public void updatePsw(String userId, String newPsw) throws Exception;

	List<User> selectManagerUsers(String isCity,String keyWord, Integer status, Page page);
	 int countManagerUsers(String isCity,String keyWord,Integer status, Page page);
}
